
#ifndef _STANDARTSUBSCRIBERS_
#define _STANDARTSUBSCRIBERS_

#include "Subscribers.h"

namespace ttg
{
	namespace services
	{
		//Implements logic of subsrcriber for UpdateEvent.
		class UpdateSubscriber :public Subscriber
		{
			private:
				float step;
			protected:
				inline float getStep() const
						{ return step; }
			public:
				UpdateSubscriber();
			static void processWorldUpdate(Subscriber *s, Event *ev);
		};
	}
}

#endif
